<?php
defined('BASEPATH') OR exit('No direct script access allowed');


class Location extends CI_Controller
{

	public function __construct()
	{
		parent::__construct();
	//	$this->load->model('Access_Token_Model');
		$this->load->library('PhpCrawler');
		$this->load->library('HttpPost');
		$this->load->helper('url_helper');
	}
	/**
	 * Index Page for this controller.
	 *
	 * Maps to the following URL
	 *        http://example.com/index.php/welcome
	 *    - or -
	 *        http://example.com/index.php/welcome/index
	 *    - or -
	 * Since this controller is set as the default controller in
	 * config/routes.php, it's displayed at http://example.com/
	 *
	 * So any other public methods not prefixed with an underscore will
	 * map to /index.php/welcome/<method_name>
	 * @see https://codeigniter.com/user_guide/general/urls.html
	 */
	public function index()
	{
	//	$test=file_get_html('http://www.zjsfgkw.cn/document/JudgmentDetail/4213170');
//		$test=$this->httppost->get_url_html('http://www.zjsfgkw.cn/document/JudgmentDetail/4213170');
//		$reg_tag_a = '/<IFRAME+\s+.+src=\"([^\"]*?)\"/';

		$data=array('title'=>'我院位置');
		$this->load->view('head_sec',$data);
		$this->load->view('location',$data);
		$this->load->view('foot_sec',$data);
	}

}


